/*
 * @Description:
 * @Author: ZhouGe
 * @Date: 2021-05-10 17:52:40
 * @LastEditors: ZhouGe
 * @LastEditTime: 2021-05-10 20:43:06
 */
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
// const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');

const options = {};
const mode = 'none';
module.exports = {
  mode: 'development',
  entry: {
    index: './src/index.js',
  },
  devtool: 'inline-source-map',
  output: {
    filename: '[name].bundle.js',
    path: path.resolve(__dirname, 'dist'),
    clean: true,
  },
};
